package com.woniu.petkonwledge.service.impl;

import com.woniu.common.entity.DogBreed;
import com.woniu.petkonwledge.mapper.DogBreedMapper;
import com.woniu.petkonwledge.service.DogBreedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DogBreedServiceImpl implements DogBreedService {
    @Autowired
    DogBreedMapper dogBreedMapper;



    @Override
    public List<DogBreed> getAllDogBreedBySize(Integer size) {

        return dogBreedMapper.getAllDogBreedBySize(size);
    }
}
